package org.jeecg.modules.inspect.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 卡信息表
 * @Author: jeecg-boot
 * @Date:   2023-11-22
 * @Version: V1.0
 */
@Data
@TableName("ins_card")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ins_card对象", description="卡信息表")
public class InsCard implements Serializable {
    private static final long serialVersionUID = 1L;

	/**卡ID*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "卡ID")
    private java.lang.String id;

	/**卡号*/
	@Excel(name = "卡号", width = 15)
    @ApiModelProperty(value = "卡号")
    private java.lang.String cardNo;

    /**卡名称*/
    @Excel(name = "卡名称", width = 15)
    @ApiModelProperty(value = "卡名称")
    private java.lang.String cardName;

	/**卡类型*/
	@Excel(name = "卡类型", width = 15, dicCode = "card_type")
	@Dict(dicCode = "card_type")
    @ApiModelProperty(value = "卡类型")
    private java.lang.String cardType;

	/**卡状态*/
	@Excel(name = "卡状态", width = 15, dicCode = "card_status")
	@Dict(dicCode = "card_status")
    @ApiModelProperty(value = "卡状态")
    private java.lang.String cardStatus;

	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;

	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;

	/**修改人*/
    @ApiModelProperty(value = "修改人")
    private java.lang.String updateBy;

	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private java.util.Date updateTime;

	/**删除标记*/
	@Excel(name = "删除标记", width = 15, dicCode = "del_flag")
	@Dict(dicCode = "del_flag")
    @ApiModelProperty(value = "删除标记")
    //@TableLogic
    private java.lang.Integer delFlag;

	/**组织机构编码*/
    @ApiModelProperty(value = "组织机构编码")
    private java.lang.String sysOrgCode;
}
